/**
* Copyright (c) By zengqh.
*
* This program is just for fun or demo, in the hope that it  
* will be useful, you can redistribute it and/or modify freely.
*
* Time: 2013/02/17
* File: random.h
* Blog: http://www.cnblogs.com/zengqh/
**/

#pragma once

namespace HY
{
/** Set the random seed. The default seed is 1. */
void SetRandomSeed(unsigned seed);

/** Return the current random seed. */
unsigned GetRandomSeed();

/** Return a random number between 0-32767. Should operate similarly to MSVC rand(). */
int Rand();
}